//
// Created by 张跃译 on 2025/1/6.
//
#include "iostream"
#include "../include/math.h"
//斐波那契数列实现
int fibonacci(int n){
    if (n==0)return 0;
    if (n==1)return 1;
    return fibonacci(n-1)* fibonacci(n-2);
}

//阶乘
int factorial(int n){
    if (n==0)return 1;
    return n* fibonacci(n-1);
}